<div class="item-title">
	<h3>权限设置</h3>
	<ul class="tab-base">
    <if condition="(strtolower($Think.const.CONTROLLER_NAME) eq 'admin') && (strtolower($Think.const.ACTION_NAME) eq 'index')">
        <li><a href="JavaScript:void(0);" class="current"><span>管理员列表</span></a></li>    
    <else />
        <li><a href="{:U('admin/index')}"><span>管理员列表</span></a></li>    
    </if>

    <if condition="(strtolower($Think.const.CONTROLLER_NAME) eq 'admin') && (strtolower($Think.const.ACTION_NAME) eq 'add')">
        <li><a href="JavaScript:void(0);" class="current"><span>添加管理员</span></a></li>    
    <else />
         <li><a href="{:U('admin/add')}" ><span>添加管理员</span></a></li>
    </if>
    
    <if condition="(strtolower($Think.const.CONTROLLER_NAME) eq 'admin') && (strtolower($Think.const.ACTION_NAME) eq 'edit')">
        <li><a href="JavaScript:void(0);" class="current"><span>编辑管理员</span></a></li>    
    </if>    
     
    <if condition="(strtolower($Think.const.CONTROLLER_NAME) eq 'gadmin') && (strtolower($Think.const.ACTION_NAME) eq 'index')">
        <li><a href="JavaScript:void(0);" class="current"><span>权限组</span></a></li>    
    <else />
        <li><a href="{:U('gadmin/index')}" ><span>权限组</span></a></li>
    </if>

    <if condition="(strtolower($Think.const.CONTROLLER_NAME) eq 'gadmin') && (strtolower($Think.const.ACTION_NAME) eq 'add')">
        <li><a href="JavaScript:void(0);" class="current"><span>添加权限组</span></a></li>    
    <else />
        <li><a href="{:U('gadmin/add')}" ><span>添加权限组</span></a></li>
    </if>
    
    <if condition="(strtolower($Think.const.CONTROLLER_NAME) eq 'gadmin') && (strtolower($Think.const.ACTION_NAME) eq 'edit')">
        <li><a href="JavaScript:void(0);" class="current"><span>编辑权限组</span></a></li>    
    </if> 
	</ul>
</div>
